package com.lifp.config.oauth.detail;

import org.springframework.security.oauth2.provider.ClientDetails;
import org.springframework.security.oauth2.provider.ClientDetailsService;
import org.springframework.security.oauth2.provider.ClientRegistrationException;

/**
 * @Description 自定义ClientDetailsService，用来从数据库获取信息
 * @Author lfp
 * @Date 2022/8/12
 * @Version 1.0
 */
public class ClientDetailsServiceImpl implements ClientDetailsService {
    @Override
    public ClientDetails loadClientByClientId(String clientId) throws ClientRegistrationException {
        //todo
        return null;
    }
}
